docs: Add developing modules tutorial#4155
Conversation
✅ Deploy Preview for nf-core-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for nf-core-main-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@nf-core-bot fix linting |
jfy133
left a comment
There was a problem hiding this comment.
Got side tracked and have to get kits up now, but conceptual question on first page for consideration
|
Also - feel free to push changes. I'm not attached to anything strongly. |
jfy133
left a comment
There was a problem hiding this comment.
Finished up to page 3, will continue from 4 onwards when I have time
|
|
||
| The following diagram shows how these files relate to each other: | ||
|
|
||
| <img width=80% alt="Diagram showing how the execution, documentation, and testing files in an nf-core module relate to each other." src="../../../../../assets/images/tutorials/training/nf-core-module-file-relationship.png"> |
jfy133
left a comment
There was a problem hiding this comment.
Chapter 5 review done. Continuing next time from chapter 6
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
| test("sarscov2 - fastq - bakta annotation input") | ||
| ``` | ||
|
|
||
| In the `when` block, declare each input channel using `input[index]` notation (`input[0]` for the first, `input[1]` for the second, and so on). The block accepts standard Nextflow code — channel factories, operators, and so on — as you would use in a pipeline. Make sure each `input[]` matches the channel structure of your module, including any meta map: |
There was a problem hiding this comment.
| In the `when` block, declare each input channel using `input[index]` notation (`input[0]` for the first, `input[1]` for the second, and so on). The block accepts standard Nextflow code — channel factories, operators, and so on — as you would use in a pipeline. Make sure each `input[]` matches the channel structure of your module, including any meta map: | |
| In the `when` block, declare each input channel using `input[index]` notation (`input[0]` for the first, `input[1]` for the second, and so on). | |
| The block accepts standard Nextflow code — channel factories, operators, and so on — as you would use in a pipeline. | |
| Make sure each `input[]` matches the channel structure of your module, including any meta map: |
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
|
@nf-core-bot fix linting |
…re-modules/3-what-is-a-module.md
jfy133
left a comment
There was a problem hiding this comment.
Tahnks @christopher-hakkaart !
Closes #4145
@netlify /docs/developing/tutorials/writing-nf-core-modules/1-introduction